<%@ page import="java.sql.*, studentportal.*"%>
<html>
<body background="indtextb.jpg" bgcolor="#FFFFFF" text="#000000" link="#3366CC" vlink="#666666" alink="#996600">
<p>&nbsp;
<table border="0" width="100%" bordercolorlight="#666666" bordercolordark="#000000">
  <tr>
    <td width="100%"><img border="0" src="StdPrtlbanner.jpg" width="846" height="65"><!--mstheme--><font face="Trebuchet MS, Arial, Helvetica">&nbsp;<!--mstheme--></font></td>
  </tr>
</table>
<table border="0" width="100%" bordercolorlight="#666666" bordercolordark="#000000">
  <tr>
    <td width="23%">
      <p align="center"><a href="Student_Persanal_InfoView.jsp">Personal Info</a></td>
    <td width="20%">
      <p align="center"><a href="Student_Certificates_InfoView.jsp">Certificates</a></td>
    <td width="20%">
      <p align="center"><a href="Student_Notification.jsp">Notifications</a></td>
    <td width="20%">
      <p align="center"><a href="Student_Security_InfoView.jsp">Security</a></td>
    <td width="20%">
      <a href="Home.html">Home</a></td>
  </tr>
</table>

<body>

<%
					
					Connection con=MySQLDriver.getConnection(); 
					Statement st=con.createStatement();					
					String str="select * from admin_corporate where CORPORATE_ID='"+request.getParameter("NID")+"'";
					System.out.println(str);
					ResultSet rs=st.executeQuery(str);
					rs.next();
					//Student stu=(Student)session.getAttribute("Student");
%>
<p align="center">&nbsp;</p>
<form method="POST" action="">
 
  <div align="center">
    <center>
    <table border="1" width="68%" bordercolor="#0000FF">
      <tr>
        <td width="100%" colspan="2">
          <p align="center"><b>Student Notification Information</b></td>
      </tr>
    </center>
    <tr>
      <td width="50%" valign="middle" align="left">
        <p align="left">Notification_id</td>
      <center>
      <td width="50%"><input type="text" name="sid" size="20" tabindex="1" value="<%=rs.getString(2)%>" disabled="true"></td>	
      </tr>
    </center>
    <tr>
      <td width="50%" valign="middle" align="left">
        <p align="left">Advertisement Startint Date</td>
      <center>
      <td width="50%"><input type="text" name="sname" size="20" tabindex="2" value="<%=rs.getString(3)%>" disabled="true"></td>
      </tr>
      <tr>
        <td width="50%" valign="middle" align="left">Advertisement Last Date</td>
        <td width="50%"><input type="text" name="sdob" size="20" tabindex="4" value="<%=rs.getDate(4)%>" disabled="true"></td>
      </tr>
      <tr>
        <td width="50%" valign="middle" align="left">NOTIFICATION</td>
        <td width="50%"><textarea rows="2" name="sadd" cols="20" tabindex="3" disabled="true"><%=rs.getString(5)%></textarea></td>
      </tr>
      </table>
    </center>
  </div>
</form>
<p align="left">&nbsp;</p>


</body>

</html>
